.input-area {
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  display: block;
  font-weight: 700;
}


select,
textarea,
input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  outline: none;
}

select:hover {
  border-color: blue;
}

/* 下拉框样式 */
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right .7em top 50%, 0, 0;
  background-size: 1em 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

input[type="button"] {
  background-image: linear-gradient(to right, #a6c1ee, #fbc2eb);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: background-image 0.3s ease-in-out;
}

input[type="button"]:hover {
  background-image: linear-gradient(to right, #cddfff, #f3cde9);
}

#outputText,
#inputText {
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  padding: 15px;
  border-radius: 5px;
  resize: none;
}